<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <script
      src="{{ url_for('static', filename='mobile/js/utils/rem.js') }}"
      type="text/javascript"
      charset="utf-8"
    ></script>
    <link
      rel="stylesheet"
      type="text/css"
      href="{{ url_for('static', filename='mobile/css/base.css') }}"
    />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{ url_for('static', filename='mobile/css/loading.css') }}"
    />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{ url_for('static', filename='mobile/css/app.css') }}"
    />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{ url_for('static', filename='mobile/css/backups.css') }}"
    />
    <title>manage</title>
  </head>
  <body>
    <div class="ass">
      <div class="phone-header">
        <div class="phone-input-con">
          <input type="text" placeholder="search" class="phone-ass-input" />
          <a href="{{ url_for('auth.login') }}">
            <img
              class="signup"
              src="{{ url_for('static', filename='mobile/img/signup.svg') }}"
              alt=""
            />
          </a>
        </div>
      </div>
      <div class="backups">
        <div class="con">
          <!-- <div class="header">
						<div class="h-left">
							<span class="h-logo">logo</span>
							<span class="h-school">xx school</span>
						</div>
						<div class="h-right">
							<input class="h-input" type="text" placeholder="search">
							<div class="h-center">
								<p class="h">Hi, administrator</p>
								<p class="h-1">welcome to xxxxxx school，keep good work</p>
							</div>
							<span class="h-pic">头像</span>
						</div>
					</div> -->
          <div class="ub l">
            <div class="ub_f1 l-list active">
              <a href="{{ url_for('manage.professor') }}">professors</a>
            </div>
            <div class="ub_f1 l-list">
              <a href="{{ url_for('manage.student') }}">student</a>
            </div>
            <div class="ub_f1 l-list">
              <a href="{{ url_for('manage.course') }}">course</a>
            </div>
          </div>
          <div class="cs">
            <div class="c">
              {% for professor in professors %}
              <div class="c-list">
                <div class="c-l">
                  <p class="c-n">{{ professor.name }}</p>
                  <p class="c-s">{{ professor.post }}</p>
                  <p class="c-pic-c">
                    <img
                      src="{{ url_for('get_avatar', filename=professor.avatar) }}"
                      alt=""
                    />
                  </p>
                  <p class="c-sk">
                    {{ professor.skill_points | length }} skillpoints
                  </p>
                </div>
                <div class="c-r">
                  <div>
                    <p class="c-k">key competency</p>
                    <p class="c-i">{{ professor.key_ompetency }}</p>
                  </div>
                  <div class="c-t">
                    <div class="c-t-list">
                      <span class="c-circle"></span>
                      <div>
                        <p class="c-a">Age</p>
                        <p class="c-ns">{{ professor.age }}</p>
                      </div>
                    </div>
                    <div class="c-t-list">
                      <span class="c-circle"></span>
                      <div>
                        <p class="c-a">Gender</p>
                        <p class="c-ns">{{ professor.gender.name }}</p>
                      </div>
                    </div>
                    <div class="c-t-list">
                      <span class="c-circle"></span>
                      <div>
                        <p class="c-a">Address</p>
                        <p class="c-ns">{{ professor.address }}</p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              {% endfor %}

              <div class="c-np">
                <div>
                  <img
                    src="{{ url_for('static', filename='mobile/img/001.svg') }}"
                    alt=""
                  />
                  <p>New professor</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
